package xyz.labmem.base.core.annotion

import xyz.labmem.base.core.enums.LogAnnotationOpTypeEnum
import java.lang.annotation.Inherited


/**
 * 标记需要做业务日志的方法
 * @Author lty
 * @Date 2021/12/15 14:38
 */
@Inherited
@Target(AnnotationTarget.FUNCTION)
@Retention(AnnotationRetention.RUNTIME)
annotation class BusinessLog(

    //业务的名称,例如:"修改菜单"
    val title: String = "",

    //业务操作类型枚举
    val opType: LogAnnotationOpTypeEnum = LogAnnotationOpTypeEnum.OTHER
)
